import request from "../request.js"

//删除收货地址
function deleteAction(data){
    return request({
        url:'/address/deleteAction',
        data
    })
}
//获取收货地址详情
function detailAction(data){
    return request({
        url:'/address/detailAction',
        data
    })
}
//保存和添加收货地址
function saveAction(data){
    return request({
        url:'/address/saveAction',
        data,
        method:'post'
    })
}
//获取收货地址列表
function getListAction(data){
    return request({
        url:'/address/getListAction',
        data
    })
}
export{
    deleteAction,detailAction,saveAction,getListAction
}